const path = require('path');

module.exports = {
  mode: 'development',
  entry: '/src/index.js',
  output: {
    // publicpath: path.resolve(__dirname, 'dist'),
    publicPath: path.resolve('/xuni/'),
    filename: 'foo.bundle.js',
  },
  devServer: {
    port: 3000,
    static: {  
      directory: path.join(__dirname, './'),
    },
  },
};